<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			.moveBox{
				width:100px;
				height: 100px;
				background-color:#11ee66;
				
				animation: mymove 2s infinite;/*infinite:无限循环*/
			}
			@keyframes mymove{
				from{width:0px;}/*第一帧*/
				to{width:300px;}/*最后一帧*/
			}
			.transitionBox{
				width:100px;
				height: 100px;
				background-color: hotpink;
				transition: width 2s;
			}
			.transitionBox:hover{
				width: 300px
				}
				
				
			ul{
					list-style:none;
				}
				li{
				float:left;
				margin-right:15px;
				background-color:#ee1166;
				padding:5px 10px 5px 10px;
				
				-webkit-transform: skewX(30deg);
					}
					li:hover{
						background-color: aqua;
					}
					a{
						text-decoration:none;
						color: white;
						
						-webkit-transform: skewX(-30deg);
						display:block;
					}
				
		</style>
	</head>
	<body>
		<div>移动效果:</div>
		<div class="moveBox"></div>
		<div>拉伸效果:</div>
		<div class="transitionBox"></div>
		<div>菜单效果:</div>
		<div >
			<ul>
				<li><a href="http://www.sina.com.cn" target="_blank">新浪新闻</a></li>
				<li><a href="http://www.toutiao.com" target="_blank">今日头条</a></li>
				<li><a href="http://www.baidu.com" target="_blank">百度新闻</a></li>
				<li><a href="http://phtv.ifeng.com" target="_blank">凤凰卫视</a></li>
			</ul>
		</div>
	</body>
</html>
